 var typenums = 1;
 var typenumPicker = new mui.PopPicker();
                typenumPicker.setData([{
                    value: '1',
                    text: '手机'
                },{
                    value: '2',
                    text: '卡号'
                }, {
                    value: '3',
                    text: '昵称'
                }]);
                 var typenum = document.getElementById('typenum');
                typenum.addEventListener('tap', function(event) {
                    typenumPicker.show(function(items) {
                        typenum.innerText = items[0].text;
                        typenums = items[0].value;
                    });
}, false);


function recharge(){
				
				let data = {
					url:"/api/member/search",
					data:{
						access_token:acctoken(),
						key:g("keyvalue").value,
						type:typenums
					}
				}
				ajax(data,function(res){
					setmember(res);
				})
			}
			
			function setmember(res){
				let str = "";
				let listdivmain = g("listdivmain");
				for(let i = 0; i < res.data.data.length;i++){
						str+='<div class="fe09" onclick="setmemberid('+res.data.data[i].id+',\''+res.data.data[i].username+'\')">'+
							'<div class=""><span id="">'+
			   					res.data.data[i].username+
			   				'</span><span id="">'+
			   					res.data.data[i].phone+
			   				'</span></div><div class=""><span id="">卡号：</span><span id="">'+
			   					res.data.data[i].card_number+
			   				'</span></div></div>';
				}
				listdivmain.innerHTML = str;
			}
			